import Calendar from "./calendar";
//通过单位fault Value来串入初始值date
//修改date之后可以在onChange里拿到最新的值

function App (){
    return <Calendar defaultValue={new Date()} 
    onChange ={(newDate)=>{alert(newDate.toLocaleDateString())}}></Calendar>
}
export default App
